greaterThan(QT_MAJOR_VERSION, 5): QT += core5compat

CONFIG += c++11

NVER1=0
NVER2=7
NVER3=0

include($$PWD/QssEditor-common.pri)

SOURCES += \
    $$PWD/qsswindow.cpp \
    $$PWD/previewer.cpp \
    $$PWD/qsseditor.cpp \
    $$PWD/qscilexerqss.cpp \
    $$PWD/project.cpp \
    $$PWD/settings.cpp \
    $$PWD/searchandreplace.cpp \
    $$PWD/options.cpp \
    $$PWD/about.cpp

HEADERS += \
    $$PWD/qsseditor_global.h \
    $$PWD/qsseditor.h \
    $$PWD/qsswindow.h \
    $$PWD/previewer.h \
    $$PWD/qscilexerqss.h \
    $$PWD/project.h \
    $$PWD/settings.h \
    $$PWD/searchandreplace.h \
    $$PWD/options.h \
    $$PWD/about.h \
    $$PWD/tools.h

FORMS += $$PWD/qsseditor.ui \
    $$PWD/previewer.ui \
    $$PWD/searchandreplace.ui \
    $$PWD/options.ui \
    $$PWD/about.ui

RESOURCES += $$PWD/qsseditor.qrc

RC_FILE = $$PWD/qsseditor.rc

distribution
HTTPROOT="https://gitee.com/icanpool/qsseditor"
DEFINES += HTTPROOT=$$sprintf("\"\\\"%1\\\"\"", $$HTTPROOT)
